package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 延误险 被保险人信息表
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_insurant")
@TableAlias("insurant")
@ApiModel(value="BusInsurant对象", description="延误险 被保险人信息表")
public class BusInsurant extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "insurantId", type = IdType.ASSIGN_ID)
    private Long insurantId;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "证件类型（1身份证，2护照 3港澳台,4军官证,5其他）")
    private Integer identityType;

    @ApiModelProperty(value = "证件号")
    private String identityNo;

    @ApiModelProperty(value = "延误险预约Id")
    private Long delayriskId;

    @ApiModelProperty(value = "出生日期")
    private String birthDate;

    @ApiModelProperty(value = "性别(1女，2男)")
    private Integer sex;

    @ApiModelProperty(value = "延误证明图片")
    private String proveImg;

    @ApiModelProperty(value = "登机牌")
    private String boardingPassImg;

    @ApiModelProperty(value = "银行卡号")
    private String bankNo;

    @ApiModelProperty(value = "开户行")
    private String depositBank;

    @ApiModelProperty(value = "是否申请（1未申请。2申请）")
    private Integer isApply;

    @ApiModelProperty(value = "是否申请（1无需受理2待受理3受理通过4受理拒绝）")
    private Integer isCheck;

    private String handleDate;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

}
